package com.cn.wanxi.service;

import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface IUserService {
    int addUser(UserModel userModel);
    void updateUser(UserModel userModel);
    void deleteUser(int id);
    UserModel getUser(int id);
    List<UserModel> getUserList();
    boolean userIsExist(String username);

    UserModel login(UserModel userModel);
}
